package com.wangrui.service;

import com.wangrui.pojo.Role;
import com.wangrui.pojo.School;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 王锐
 * @since 2020-07-05
 */
public interface SchoolService extends IService<School> {

    School getSchoolName(Integer sid);

    List<School> queryAllSchool();


    Map<String, Object> Allschools(int start, int end);

    int getTotal();

    int schoolSave(School school);

    int schoolUpdate(School school);

    int schoolDelete(int  id);

}
